package main

import "fmt"

type car struct {
	wheelCount int
}

func (c car) numberOfWheels() int {
	return c.wheelCount
}

type kamaz struct {
	car
}

func main() {
	kamaz10 := kamaz{car{
		wheelCount: 10,
	}}

	fmt.Println(kamaz10.wheelCount)
	fmt.Println(kamaz10.numberOfWheels())
}
